﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyPublic.aspx.cs" Inherits="CMS_Admin_MyPublic" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../Control/RouterBar.ascx" TagName="RouterBar" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <title></title>
    <style>
        .tb td
        {
            border: #fff solid 1px;
            font-size: 13px;
        }
        .btn
        {
            border-right: #7b9ebd 1px solid;
            padding-right: 2px;
            border-top: #7b9ebd 1px solid;
            padding-left: 2px;
            font-size: 12px;
            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde);
            border-left: #7b9ebd 1px solid;
            cursor: hand;
            color: black;
            padding-top: 2px;
            border-bottom: #7b9ebd 1px solid;
            width: 100px;
        }
        .paginator
        {
            font: 11px Arial, Helvetica, sans-serif;
            padding: 10px 20px 10px 0;
            margin: 0px;
            width: 650px;
        }
        .paginator a
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
            margin-right: 2px;
        }
        .paginator a:visited
        {
            padding: 1px 6px;
            border: solid 1px #ddd;
            background: #fff;
            text-decoration: none;
        }
        .paginator .cpb
        {
            padding: 1px 6px;
            font-weight: bold;
            font-size: 13px;
            border: none;
        }
        .paginator a:hover
        {
            color: #fff;
            background: #ffa501;
            border-color: #ffa501;
            text-decoration: none;
        }
    </style>

    <script>
        function openwin(url) {

            location.href = url;
      
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 100%; overflow: hidden;">
        <h1>
            我发布的内容</h1>
        <table style="width: 600px; font-size: 13px;" cellpadding="5">
            <tr>
                <td style="width: 100px; text-align: left">
                    主题名称：
                </td>
                <td style="width: 300px; text-align: left">
                    <asp:TextBox ID="txttopic" Text="" runat="server" Width="100%"></asp:TextBox>
                </td>
                <td style="width: 100px; text-align: left">
                    <asp:DropDownList ID="ddlstatus" runat="server">
                        <asp:ListItem Value="-1">未选择</asp:ListItem>
                        <asp:ListItem Value="0">未发布</asp:ListItem>
                        <asp:ListItem Value="1 or PublishStatus is null">已发布</asp:ListItem>
                        <asp:ListItem Value="2">审核中</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td style="width: 100px; text-align: left">
                    <asp:Button ID="Search" runat="server" Text=" 查询 " OnClick="Search_Click" CssClass="btn" />
                </td>
                <td style="width: 100px; text-align: left">
                    <asp:Button ID="Button1" runat="server" Text=" 刷新本页 " OnClick="Save_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
        <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px;" runat="server"
            id="DivContent">
            <asp:Repeater ID="RptChatList" runat="server" OnItemDataBound="RptChatList_ItemDataBound"
                OnItemCommand="RptChatList_ItemCommand">
                <HeaderTemplate>
                    <table cellspacing="0" cellpadding="5" width="100%" border="0" class="tb">
                        <tr bgcolor="#cee6ff">
                            <td style="width: 10%">
                                主题编号
                            </td>
                            <td style="width: 30%">
                                内容主题
                            </td>
                            <td style="width: 40%">
                                目录
                            </td>
                            <td style="width: 20%">
                                操作
                            </td>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%# Eval("ArtId")%>
                        </td>
                        <td>
                            <%# Eval("ArtTopic")%>
                        </td>
                        <td>
                            <uc1:RouterBar ID="RouterBar1" runat="server" />
                        </td>
                        <td>
                            <asp:HyperLink ID="hygoto" runat="server">  </asp:HyperLink>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <br />
        <webdiyer:AspNetPager CssClass="paginator" CurrentPageButtonClass="cpb" ID="apg"
            runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            UrlPaging="True" Width="100%" HorizontalAlign="Right">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
